package com.ruoyi.offline.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 商品价格对象 item_goodsprice
 * 
 * @author ruoyi
 * @date 2022-03-29
 */
public class ItemGoodsprice extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supply;

    /** 价格 */
    @Excel(name = "价格")
    private BigDecimal price;

    /** 客户等级 */
    @Excel(name = "客户等级")
    private String customerLevel;

    /** SKU */
    @Excel(name = "SKU")
    private String sku;

    /** 生效时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生效时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date forceTime;

    /** 假删除 */
    private Integer delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }
    public void setSupply(String supply) 
    {
        this.supply = supply;
    }

    public String getSupply() 
    {
        return supply;
    }
    public void setPrice(BigDecimal price) 
    {
        this.price = price;
    }

    public BigDecimal getPrice() 
    {
        return price;
    }
    public void setCustomerLevel(String customerLevel) 
    {
        this.customerLevel = customerLevel;
    }

    public String getCustomerLevel() 
    {
        return customerLevel;
    }
    public void setSku(String sku) 
    {
        this.sku = sku;
    }

    public String getSku() 
    {
        return sku;
    }
    public void setForceTime(Date forceTime) 
    {
        this.forceTime = forceTime;
    }

    public Date getForceTime() 
    {
        return forceTime;
    }
    public void setDelFlag(Integer delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Integer getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createDate", getCreateDate())
            .append("supply", getSupply())
            .append("price", getPrice())
            .append("customerLevel", getCustomerLevel())
            .append("sku", getSku())
            .append("forceTime", getForceTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
